Sequel.migration do
  up do
    create_table :albums do
      primary_key :id
      String :title, :null=>false
      String :desc
      column 'artwork', :bytea
      # Blob :artwork
      String :artname
      foreign_key :artist_id, :artists
    end
  end

  down do
    drop_table(:albums)
  end
end